class UserProfile{
  String name;
  int userId;

  UserProfile({this.name,this.userId});

  factory UserProfile.formJson(Map<String,dynamic> json){
    return UserProfile(name: json["name"],userId: json["userId"]);
  }
}